package com.daniel.design.pattern.adapter.interface_adapter;

import java.io.File;

/**
 * @ClassName FileAlterationListener
 * @Description 接口适配类
 * @Author Daniel
 * @Version V1.0.0
 */
public interface FileAlterationListener {
    void onStart(final File observer);

    void onDirectoryCreate(final File directory);

    void onDirectoryChange(final File directory);

    void onDirectoryDelete(final File directory);

    void onFileCreate(final File file);

    void onFileChange(final File file);

    void onFileDelete(final File file);

    void onStop(final File observer);
}
